<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../bootstrap-5.1.3-dist/css/bootstrap.css">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.js"></script>
</head>

<body class="container">
    <h3 align="center">禁用表单控件</h3>
    <form>
        <fieldset disabled>
            <div class="form-group">
                <label for="testInput">禁用表单</label>
                <input type="text" id="testInput" class="form-control" placeholder="Disabled input">
            </div>
            <div class="form-group">
                <label for="testSelect">禁用选择菜单</label>
                <select id="testSelect" class="form-control">
                    <option>Disabled select</option>
                </select>
            </div>
            <div class="form-group">
                <div class="form-check">
                    <input class="form-check-input" type="checkbox" id="testCheck" disabled>
                    <label class="form-check-label" for="testCheck">
                        禁用复选框
                    </label>
                </div>
            </div>
            <button type="submit" class="btn btn-primary">提交</button>
        </fieldset>
    </form>
</body>



</html>